
var obj5 = {
  "T1348648141035": [
    {
      "postid": "PHOT238HO00014T8",
      "hasCover": false,
      "hasHead": 1,
      "replyCount": 5606,
      "hasImg": 1,
      "digest": "",
      "hasIcon": true,
      "docid": "9IG74V5H00963VRO_C35O9SN0tongheupdateDoc",
      "title": "美航母与两栖攻击舰同时出现在南海与东海",
      "order": 1,
      "priority": 100,
      "lmodify": "2016-10-12 08:15:48",
      "boardid": "photoview_bbs",
      "photosetID": "4T8E0001|2204216",
      "template": "normal1",
      "votecount": 5199,
      "skipID": "4T8E0001|2204216",
      "alias": "Military",
      "skipType": "photoset",
      "cid": "C1348647991705",
      "hasAD": 1,
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/43288c8a14f642c28bad7e046c19979920161012081543.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/9fbb2ce1b3ce44c39562197568f4897420161012081543.jpeg"
        }
      ],
      "source": "网易原创",
      "ename": "junshi",
      "imgsrc": "http://cms-bucket.nosdn.127.net/771787b2df9e4386b4cdf539c844bf5d20161012081543.jpeg",
      "tname": "军事",
      "ptime": "2016-10-12 08:15:48"
    },
    {
      "postid": "PHOT238HH00014T8",
      "votecount": 2279,
      "replyCount": 2600,
      "skipID": "4T8E0001|2204209",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35ORD6GtongheupdateDoc",
      "editor": [
        
      ],
      "title": "武警部队新型野战食品有没有进步？",
      "source": "网易原创",
      "imgType": 1,
      "priority": 89,
      "lmodify": "2016-10-12 08:25:22",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/56449923ccf1461abec1ef49aa36458520161012082503.jpeg",
      "photosetID": "4T8E0001|2204209",
      "ptime": "2016-10-12 08:25:22"
    },
    {
      "postid": "C36BI43D000181KT",
      "url_3w": "http://news.163.com/16/1012/13/C36BI43D000181KT.html",
      "votecount": 741,
      "replyCount": 847,
      "pixel": "640*466",
      "ltitle": "安徽一职校女孩被网友洗脑 欲出境参加“圣战”",
      "digest": "资料图：中国武警反恐演习。中安在线10月12消息，据安徽商报报道，一名职校女生，在网上认识了一名网友，对方向她宣传极端主义、恐怖主义思想，这名女生对这种思想产生",
      "url": "http://3g.163.com/news/16/1012/13/C36BI43D000181KT.html",
      "docid": "C36BI43D000181KT",
      "title": "安徽一职校女孩被网友洗脑 欲出境参加“圣战”",
      "source": "澎湃新闻网",
      "priority": 88,
      "lmodify": "2016-10-12 13:53:32",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/6/6b/6ba25515dd54e9a9549af0f5384a57cc.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 13:52:20"
    },
    {
      "postid": "C360JCDO000181KT",
      "url_3w": "http://news.163.com/16/1012/10/C360JCDO000181KT.html",
      "votecount": 183,
      "replyCount": 262,
      "pixel": "550*351",
      "ltitle": "菲媒:菲总统访华搁置南海争议 但将争取黄岩岛渔权",
      "digest": "资料图：菲律宾军演。【环球网报道记者郭鹏飞】10月10日，在即将对中国进行国事访问前，菲律宾总统杜特尔特表示，此次访华，他将暂时搁置黄岩岛主权争议，只向北京高层",
      "url": "http://3g.163.com/news/16/1012/10/C360JCDO000181KT.html",
      "docid": "C360JCDO000181KT",
      "title": "菲媒:菲总统访华搁置南海争议 但将争取黄岩岛渔权",
      "source": "环球时报-环球网",
      "priority": 88,
      "lmodify": "2016-10-12 11:22:13",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/7/7d/7d38ffce8c47e385994bba1ca23ebfc1.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 10:40:47"
    },
    {
      "postid": "C35SQMRB000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35SQMRB000181KT.html",
      "votecount": 11361,
      "replyCount": 12291,
      "pixel": "600*400",
      "ltitle": "10多万韩国民众请愿取消部署萨德 美断然拒绝",
      "digest": "【环球时报综合报道】“这次中俄联合吹风会是一种新的形式，表达方式是从前未见过的，说明中俄两国默契合作和相互间重大战略问题协调能力。”华东师范大学国际关系与地区发",
      "url": "http://3g.163.com/news/16/1012/09/C35SQMRB000181KT.html",
      "docid": "C35SQMRB000181KT",
      "title": "10多万韩国民众请愿取消部署萨德 美断然拒绝",
      "source": "环球时报-环球网",
      "priority": 88,
      "lmodify": "2016-10-12 10:49:31",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/d/dc/dc6b7fbb49ea1e5322f4eb5ee26881ff.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:34:53"
    },
    {
      "postid": "C35S1KG7000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35S1KG7000181KT.html",
      "votecount": 1058,
      "replyCount": 1315,
      "pixel": "486*264",
      "ltitle": "韩媒：遇中国渔船抵抗 韩国海警将用大炮轰",
      "digest": "【环球时报驻韩国特约记者李大明环球时报记者苏静吴志伟崔杰通】11日，韩国国务调整室国务第一次长在政府首尔办公大楼主持会议，讨论“加大对中国非法渔船管制力度的对策",
      "url": "http://3g.163.com/news/16/1012/09/C35S1KG7000181KT.html",
      "docid": "C35S1KG7000181KT",
      "title": "韩媒：遇中国渔船抵抗 韩国海警将用大炮轰",
      "source": "环球时报-环球网",
      "priority": 88,
      "lmodify": "2016-10-12 10:49:38",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/9/91/9176b52cc28abea2bfa4a5fcf3c9697a.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:21:11"
    },
    {
      "postid": "C35M0KLS000181KT",
      "url_3w": "http://news.163.com/16/1012/07/C35M0KLS000181KT.html",
      "votecount": 9294,
      "replyCount": 9835,
      "pixel": "900*566",
      "ltitle": "美军网上卖过剩装备：悍马只要7千美金一辆",
      "digest": "资料图：2011年9月30日，巴格达“自由”营地内，停放着大量悍马车。参考消息网10月12日报道美国国防月刊网站9月6日发表题为《美国军方上网拍卖过剩装备》的文",
      "url": "http://3g.163.com/news/16/1012/07/C35M0KLS000181KT.html",
      "docid": "C35M0KLS000181KT",
      "title": "美军网上卖过剩装备：悍马只要7千美金一辆",
      "source": "参考消息网",
      "priority": 88,
      "lmodify": "2016-10-12 10:49:11",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/5/55/55f4b509bf5b2537d9ff6abe6f0afac4.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 07:35:47"
    },
    {
      "url_3w": "",
      "postid": "C346KKGL05159HE4",
      "votecount": 777,
      "replyCount": 909,
      "ltitle": "张召忠：天上掉下个杜大爷 菲律宾朝三暮四为哪般？",
      "digest": "这两天，奥巴马肯定吃不好睡不着。亚洲这边，被称作“东方特朗普”的杜特尔特杜大爷，他的骂战让奥巴马痛心疾首，茶饭不思。从2012年黄岩岛危机开始，菲律宾阿基诺三世",
      "url": "null",
      "docid": "C346KKGL05159HE4",
      "title": "张召忠：天上掉下个杜大爷 菲律宾朝三暮四为哪般？",
      "source": "张召忠",
      "priority": 88,
      "lmodify": "2016-10-12 10:49:14",
      "imgsrc": "http://dingyue.nosdn.127.net/uXt8HBa=P5AXYKHnKRJ6JKLaCWdrwbXKi0GDXg3XKn3WV1476177859280transferflag.png",
      "subtitle": "",
      "boardid": "dy_wemedia_bbs",
      "ptime": "2016-10-11 18:23:08"
    },
    {
      "postid": "PHOT238HI00014T8",
      "votecount": 14305,
      "replyCount": 15099,
      "skipID": "4T8E0001|2204210",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35PTTS1tongheupdateDoc",
      "editor": [
        
      ],
      "title": "美军支奴干直升机山崖边悬停技艺高超",
      "source": "网易原创",
      "imgType": 1,
      "priority": 87,
      "lmodify": "2016-10-12 10:48:58",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/af257b6205734865bef787a2c98b2eb720161012084359.jpeg",
      "photosetID": "4T8E0001|2204210",
      "ptime": "2016-10-12 08:44:13"
    },
    {
      "postid": "PHOT238HA00014T8",
      "votecount": 621,
      "replyCount": 692,
      "skipID": "4T8E0001|2204202",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35PNFBVtongheupdateDoc",
      "editor": [
        
      ],
      "title": "解放军胶带粘飞机？其实这工作很有讲究",
      "source": "网易原创",
      "imgType": 1,
      "priority": 87,
      "lmodify": "2016-10-12 10:49:01",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/f51865a47945408ba77c24f8121ad6ba20161012084012.jpeg",
      "photosetID": "4T8E0001|2204202",
      "ptime": "2016-10-12 08:40:41"
    },
    {
      "postid": "PHOT238HF00014T8",
      "votecount": 3083,
      "replyCount": 3269,
      "skipID": "4T8E0001|2204207",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35PI9I3tongheupdateDoc",
      "editor": [
        
      ],
      "title": "美军P-8与日本P-1谁才是世界最强反潜巡逻机",
      "source": "网易原创",
      "imgType": 1,
      "priority": 87,
      "lmodify": "2016-10-12 10:49:04",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/500137aab35842c0916e502530738c8820161012083735.jpeg",
      "photosetID": "4T8E0001|2204207",
      "ptime": "2016-10-12 08:37:52"
    },
    {
      "postid": "C364UTDR000181KT",
      "url_3w": "http://news.163.com/16/1012/11/C364UTDR000181KT.html",
      "votecount": 298,
      "replyCount": 350,
      "pixel": "640*457",
      "ltitle": "美军舰也门外海险被导弹击中 美官员扬言将报复",
      "digest": "资料图：“梅森号”驱逐舰。【环球网报道记者王莉兰】据法国国际广播电台10月11日报道，美国两艘军舰在邻近也门的红海上险些被导弹击中，美国扬言要对此进行报复。据悉",
      "url": "http://3g.163.com/news/16/1012/11/C364UTDR000181KT.html",
      "docid": "C364UTDR000181KT",
      "title": "美军舰也门外海险被导弹击中 美官员扬言将报复",
      "source": "环球时报-环球网",
      "priority": 86,
      "lmodify": "2016-10-12 11:58:09",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/8/8c/8c870f46ad47287b0669ad0229ea83be.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 11:56:59"
    },
    {
      "postid": "C360K9130001879A",
      "url_3w": "http://news.163.com/16/1012/10/C360K9130001879A.html",
      "votecount": 1319,
      "replyCount": 1460,
      "pixel": "500*415",
      "ltitle": "斯诺看红军长征：汉尼拔远征与之相比是度假",
      "digest": "星火燎原：纪念红军长征胜利80周年特稿系列斯诺与毛泽东，资料图。斯诺是最早报道红军长征的西方记者，他的《西行漫记》在西方世界产生极大影响，今年是长征胜利80周年",
      "url": "http://3g.163.com/news/16/1012/10/C360K9130001879A.html",
      "docid": "C360K9130001879A",
      "title": "斯诺看红军长征：汉尼拔远征与之相比是度假",
      "source": "网易军事",
      "priority": 86,
      "lmodify": "2016-10-12 10:41:48",
      "imgsrc": "http://cms-bucket.nosdn.127.net/861a6a1563774bb085a3d867c39be2ff20161012103903.jpeg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 10:41:17"
    },
    {
      "postid": "C35VH2TL000181KT",
      "url_3w": "http://news.163.com/16/1012/10/C35VH2TL000181KT.html",
      "votecount": 9,
      "replyCount": 42,
      "pixel": "900*599",
      "ltitle": "中俄宣布两国将于明年举行第二次反导联合演习",
      "digest": "资料图：中俄联合军演“黄山舰”主炮开火瞬间京华时报讯(记者潘珊菊)昨天下午，中俄两军就全球和地区反导形势在京举行联合吹风会。会上宣布，两国将于明年举行第二次反导",
      "url": "http://3g.163.com/news/16/1012/10/C35VH2TL000181KT.html",
      "docid": "C35VH2TL000181KT",
      "title": "中俄宣布两国将于明年举行第二次反导联合演习",
      "source": "京华时报",
      "priority": 86,
      "lmodify": "2016-10-12 10:50:57",
      "imgsrc": "http://cms-bucket.nosdn.127.net/512f67c1f2a04bdbb57ec5f9fd598d1020161012102001.jpeg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 10:22:03"
    },
    {
      "postid": "C35V8N9T000181KT",
      "url_3w": "http://news.163.com/16/1012/10/C35V8N9T000181KT.html",
      "votecount": 109,
      "replyCount": 131,
      "pixel": "400*226",
      "ltitle": "北大荒民兵飞行员驾农用飞机演习 模拟轰炸机",
      "digest": "中国国防报10月10日报道，9月20日，全国气象灾害预警服务工作会议在大兴安岭召开，黑龙江农垦总局民兵航空应急大队出动6架农用飞机，现场演示了化学灭火、吊桶灭火",
      "url": "http://3g.163.com/news/16/1012/10/C35V8N9T000181KT.html",
      "docid": "C35V8N9T000181KT",
      "title": "北大荒民兵飞行员驾农用飞机演习 模拟轰炸机",
      "source": "观察者网",
      "priority": 86,
      "lmodify": "2016-10-12 10:17:57",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/7/78/78f50c7cd301544fe8b1d090f8a0d1f2.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 10:17:29"
    },
    {
      "postid": "C35TO6SR000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35TO6SR000181KT.html",
      "votecount": 79,
      "replyCount": 92,
      "pixel": "640*842",
      "ltitle": "日媒:韩军拿朝鲜潜艇没办法 反潜装备都有问题",
      "digest": "金正恩和朝鲜潜艇，资料图。【环球网军事10月12日报道】据日本媒体11日报道，朝鲜潜艇弹道导弹发射试验令韩国国内掀起讨论，认为韩国“必须有对抗朝鲜潜艇的能力”。",
      "url": "http://3g.163.com/news/16/1012/09/C35TO6SR000181KT.html",
      "docid": "C35TO6SR000181KT",
      "title": "日媒:韩军拿朝鲜潜艇没办法 反潜装备都有问题",
      "source": "环球时报-环球网",
      "priority": 86,
      "lmodify": "2016-10-12 10:18:19",
      "imgsrc": "http://cms-bucket.nosdn.127.net/b66814f5cb1b4c67b7d68dc94023c7b720161012095601.jpeg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:51:00"
    },
    {
      "postid": "C35TKQ9M000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35TKQ9M000181KT.html",
      "votecount": 511,
      "replyCount": 599,
      "pixel": "441*300",
      "ltitle": "韩海警暴力执法逼渔民激烈抵制:被抓或被关水牢",
      "digest": "【环球时报驻韩国特约记者李大明环球时报记者苏静吴志伟崔杰通】“希望韩方从双边关系的大局出发，冷静理性处理有关问题。”11日的外交部例行记者会上，外交部发言人耿爽",
      "url": "http://3g.163.com/news/16/1012/09/C35TKQ9M000181KT.html",
      "docid": "C35TKQ9M000181KT",
      "title": "韩海警暴力执法逼渔民激烈抵制:被抓或被关水牢",
      "source": "环球时报-环球网",
      "priority": 86,
      "lmodify": "2016-10-12 09:50:37",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/0/09/0909ac7d796a7f721837338d8b1efdd4.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:49:09"
    },
    {
      "postid": "C35SU9KV000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35SU9KV000181KT.html",
      "votecount": 616,
      "replyCount": 737,
      "pixel": "438*227",
      "ltitle": "港媒:中国要在南海建核电宝 部分由军方出资",
      "digest": "【环球网军事10月12日报道】近日，中国铅基快中子反应堆研发工作取得重大突破，应用此项技术，未来我国还将率先推出迷你型核电源装置“核电宝”。不过香港媒体首先将核",
      "url": "http://3g.163.com/news/16/1012/09/C35SU9KV000181KT.html",
      "docid": "C35SU9KV000181KT",
      "title": "港媒:中国要在南海建核电宝 部分由军方出资",
      "source": "环球时报-环球网",
      "priority": 86,
      "lmodify": "2016-10-12 09:40:39",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/5/55/558886fe29a70ee40e29d29fbfea96bd.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:36:51"
    },
    {
      "postid": "C35SNOV0000181KT",
      "url_3w": "http://news.163.com/16/1012/09/C35SNOV0000181KT.html",
      "votecount": 308,
      "replyCount": 525,
      "pixel": "900*598",
      "ltitle": "俄中将:美欲取得对中俄绝对优势 可搞斩首袭击",
      "digest": "10月7日-11日，美国驱逐舰DDG73,DDG111抵达香港停靠。他们刚刚结束了南中国海的巡航和与“好人理查德”两栖戒备群的联合训练。这两艘战舰隶属于圣迭戈的",
      "url": "http://3g.163.com/news/16/1012/09/C35SNOV0000181KT.html",
      "docid": "C35SNOV0000181KT",
      "title": "俄中将:美欲取得对中俄绝对优势 可搞斩首袭击",
      "source": "环球时报-环球网",
      "priority": 86,
      "lmodify": "2016-10-12 09:33:34",
      "imgsrc": "http://cms-bucket.nosdn.127.net/catchpic/0/0b/0ba04201168fcadad96503f3462da507.jpg",
      "subtitle": "",
      "boardid": "news_junshi_bbs",
      "ptime": "2016-10-12 09:33:17"
    },
    {
      "postid": "PHOT238HD00014T8",
      "votecount": 510,
      "replyCount": 566,
      "skipID": "4T8E0001|2204205",
      "digest": "",
      "skipType": "photoset",
      "docid": "9IG74V5H00963VRO_C35RUE47tongheupdateDoc",
      "title": "网友设想中国利用歼20研制重型战斗轰炸机",
      "source": "网易原创",
      "imgextra": [
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/e19cefb3873a4391a9535fda4aceb76920161012091900.jpeg"
        },
        {
          "imgsrc": "http://cms-bucket.nosdn.127.net/dcd7a3097f294855b40b88c7601a0ba520161012091900.jpeg"
        }
      ],
      "priority": 86,
      "lmodify": "2016-10-12 10:50:01",
      "boardid": "photoview_bbs",
      "imgsrc": "http://cms-bucket.nosdn.127.net/76b96c6e6c6e4535b2207bd664c889a520161012091900.jpeg",
      "photosetID": "4T8E0001|2204205",
      "ptime": "2016-10-12 09:19:27"
    }
  ]
}

app.controller("headCon5", function($scope) {
	// 保存顶部轮播图的对象
	$scope.headerObj5 = {};
	$scope.headerObj5 = obj5.T1348648141035[0];
	$scope.headArr5 = [];

	// 解析顶部轮播图数据
	var headerImgArr5 = $scope.headerObj5.imgextra;
	for(var k = 0; k < headerImgArr5.length; k++) {
		$scope.headArr5.push({
			"imgsrc": headerImgArr5[k].imgsrc,
			"title": $scope.headerObj5.title
		});
	}
	//给轮播图额外添加的2张图片对象
	$scope.first = $scope.headArr5[$scope.headArr5.length - 1];
	$scope.last = $scope.headArr5[0];
});
app.controller("homePageCon5", function($scope) {
	// 保存底下新闻的数据 (初始化)
	$scope.arr5 = [];
	var arr5 = obj5.T1348648141035;
	for(var i = 1; i < arr5.length; i++) {
		$scope.arr5.push(arr5[i]);
	}
});